Release 10.1A: OpenEdge Development:
.NET Open Clients
Setting up a parameter array
You must place all parameters for a procedure (external, persistent, and internal) or user-defined function into a
Progress.Open4GL.Proxy.ParamArrayobject before running the procedure or user-defined function.Creating a parameter array
You can create a
ParamArrayusing the following constructor:
numParamsSpecifies the total number of parameters (including all
INPUT,INPUT-OUTPUT, andOUTPUTparameters).You can add each parameter to the
ParamArrayusing a set of methods that add a parameter based on the data type of the parameter or a single generic add parameter method. You must identify the parameter position as well as the mode of the parameter. For temp-tables and ProDataSets, you must identify the meta data. You must also pass in an initial value for input and input-output parameters.If you want to reuse the
ParamArrayfor another call:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |